* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    padding: 0;
    background: #f5f5f5;
    min-height: 100vh;
}

.header {
    background: #e4e9e6;
    color: #3d3d3d;
    padding: 15px;
    text-align: center;
    position: relative;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.4;
    border-top: 2px solid #B1DE9D;
    border-bottom: 2px solid #B1DE9D;
    margin-bottom: 15px;
}

.header div {
    max-width: 294px;
    margin: 0 auto;
}

.time {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.9;
}

.content {
    padding: 15px;
}

.section-box {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.section {
    margin-bottom: 0;
}

.section-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.required::after {
    content: '*';
    color: #e74c3c;
    margin-left: 4px;
}

.textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px;
    font-size: 15px;
    min-height: 100px;
    box-sizing: border-box;
}

.upload-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.upload-item {
    width: 80px;
    height: 80px;
    border: 1px dashed #ddd;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 12px;
    cursor: pointer;
}

.uploaded-item {
    position: relative;
    width: 80px;
    height: 80px;
}

.uploaded-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.delete-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: #ff4d4f;
    color: white;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    cursor: pointer;
}

.upload-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.camera-icon {
    width: 20px;
    height: 16px;
    margin-bottom: 8px;
}

.upload-hint {
    color: #888;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.category-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 5px;
    text-align: center;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.category-item.selected {
    border-color: #07C160;
    background-color: rgba(7, 193, 96, 0.1);
    color: #07C160;
    font-weight: bold;
}

.contact-method {
    display: flex;
    margin: 15px 0;
}

.gender-option {
    display: flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
}

.gender-option input {
    margin-right: 5px;
}

.bottom-btn-container {
    padding: 15px 0;
    margin-top: 30px;
    background-color: transparent;
    box-shadow: none;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.cancel-btn {
    width: 119px;
    height: 40px;
    background-color: #dbdbdb;
    color: #3d3d3d;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn {
    width: 119px;
    height: 40px;
    background-color: #4e933d;
    color: #ffffff;
    border-radius: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    font-size: 15px;
    box-sizing: border-box;
    margin-top: 10px;
    height: 50px;
}

.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    width: 280px;
    height: 210px;
    background: #FFFFFF;
    border-radius: 5px;
    overflow: hidden;
}

.modal-top {
    width: 280px;
    height: 134px;
    background: linear-gradient(180deg, rgba(177,222,157,0.5) 0%, rgba(177,222,157,0) 100%);
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-image {
    width: 104px;
    height: 85px;
}

.modal-bottom {
    height: 76px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.modal-title {
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    font-size: 16px;
    color: #4E933D;
    line-height: 16px;
    text-align: center;
    margin-bottom: 5px;
}

.modal-desc {
    width: 126px;
    height: 10px;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    font-size: 14px;
    color: #3D3D3D;
    line-height: 10px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-bottom: 10px;
}

.modal-btn {
    width: 119px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #4E933D;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    font-size: 16px;
    color: #4E933D;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
}
